package com.yl.vo;

import lombok.Data;
import org.apache.shiro.SecurityUtils;

@Data
public class UserVo {
    private String userId;
    private String userName;
    private String openId;

    public static UserVo getUserVo(){
       UserVo userVo= (UserVo) SecurityUtils.getSubject().getPrincipal();
       return userVo;
    }
}
